﻿namespace SharePointStack.SPBlogTemplate
{
    class SPBlogPost
    {        
        public SPBlogPost(string title, string month, string year)
        {
            postTitle = title;
            publishingMonth = month;
            publishingYear = year;
        }

        private string postTitle;

        public string PostTitle
        {
            get { return postTitle; }
            set { postTitle = value; }
        }

        private string publishingMonth;

        public string PublishingMonth
        {
            get { return publishingMonth; }
            set { publishingMonth = value; }
        }

        private string publishingYear;

        public string PublishingYear
        {
            get { return publishingYear; }
            set { publishingYear = value; }
        }
    }
}
